#include <stdio.h>
#include <stdlib.h>

//入队列

//出队列 
int in_queue(int* head,int rear,int data); 

void out_queue(int* head,int front,int rear);

int main()
{
	
	
	system("pause");
	return 0;
}

int in_queue(int* head,int rear,int data)
{
	head[rear++]=data;
	return rear;
}

void out_queue(int* head,int front,int rear)
{
	//判断队列是否为空
	while(rear!=front)
	{
		printf("出队元素\n");
		front++;
	}
} 
